{extend name="layout" /}
{block name="body"}
  <div class="row">
    <div class="col-lg-12">
      <div class="card">
        <div class="card-body">
          
          <form method="post" action="{:url('editPwd')}" class="site-form edit-form row">
            <div class="form-group col-md-12">
              <label for="oldpassword">旧的密码</label>
              <input type="password" class="form-control" name="oldpassword" id="oldpassword" placeholder="请输入旧的密码" value="">
              <small class="form-text text-muted">请输入您现在的账号登录密码。</small>
            </div>
            <div class="form-group col-md-12">
              <label for="password">新的密码</label>
              <input type="password" class="form-control" name="newpassword" id="newpassword" placeholder="请输入新的密码" value="">
              <small class="form-text text-muted">请输入您想要设置的新密码，6-20位字母、数字、下划线。</small>
            </div>
            <div class="form-group col-md-12">
              <label for="repassword">确认密码</label>
              <input type="password" class="form-control" name="repassword" id="repassword" placeholder="请重新输入一遍新的密码" value="">
              <small class="form-text text-muted">请重新输入您设置的新密码。</small>
            </div>
            <div class="form-group col-md-12">
              <input type="hidden" name="id" value="{$aid}" />
              <button type="submit" class="btn btn-primary m-r-5 ajax-post" target-form="edit-form">保 存</button>
              <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
            </div>
          </form>
 
        </div>
      </div>
    </div>
    
  </div>
{/block}